<template>
  <pre class="textarea-text">
        {{ value }}
    </pre>
</template>

<script>
/**
   * 文本域显示
   * @author maolin
   */
export default {
  name: "ErpViewTextarea",
  props: {
    /**
     * 默认值
     * @public
     */
    value: {
      type: [String, Number],
      default: ''
    }
  }
};
</script>

<style scoped>
    .textarea-text{
        margin: 0;
        white-space: pre-line;
        font-family: "Microsoft YaHei";
    }
</style>
